typedef class uvm_root;

class uvm_coreservice_t;
	local static uvm_coreservice_t inst;

	static function uvm_coreservice_t get();
		if(inst == null) begin
			inst = new(); // 创建uvm_coreservice_t的唯一实例
			$display("%s(%0d) create a unique object of singleton class uvm_coreservice_t", `__FILE__, `__LINE__);
		end
		return inst;
	endfunction

	virtual function uvm_root get_root();
		$display("%s(%0d) invoking %m", `__FILE__, `__LINE__);
		return uvm_root::m_uvm_get_root();
	endfunction
endclass
